package cn.yu.takeoutbackend.employeeManagement.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@TableName("employee")
@Data
public class Employee {
    private String id;
    private String account;
    private String name;
    private String gender;
    private String phoneNumber;
    private String identificationNumber;
    private String password;
    private String status;
    private LocalDateTime createDateTime;
    private LocalDateTime updateDateTime;

    private Integer createUserId;
    private Integer updateUserId;

    // 无参构造函数
    public Employee() {
    }

    // 有参构造函数
    public Employee(String account, String name, String gender, String phoneNumber, String identificationNumber) {
        this.account = account;
        this.name = name;
        this.gender = gender;
        this.phoneNumber = phoneNumber;
        this.identificationNumber = identificationNumber;
    }

}
